//
//  ScrollingView.h
//  LoginRegisterModule
//
//  Created by InitialC on 16/11/11.
//  Copyright © 2016年 InitialC. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ScrollingView;
@protocol ScrollingViewDelegate <NSObject>

- (void)runScrollingView:(ScrollingView *)textView didTapedAtIndex:(NSInteger)index;

@end


@interface ScrollingView : UIView

@property (nonatomic, assign) NSInteger currentIndex;  /*当前播放到哪个标题*/
@property (nonatomic, assign) id<ScrollingViewDelegate> delegate;

- (void)animationWithTexts:(NSArray *)textAry;
- (void)stopAnimation;


@end
